home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / qostnote.arc / TERMXDI.PAT < prev    next >
Text File  |  1990-07-05  |  2KB  |  68 lines

  1. Quarterdeck Technical Note
  2. by Daniel Travison
  3.  
  4.                          TERMXDI.COM debug patch
  5.  
  6.   DOS 3.1 and later implement a new interrupt called the Multiplex
  7. Interrupt as a generalized interface between two processes. Since DOS 2.x
  8. did not support this interrupt programs that try to use it can have
  9. unpredictable results.  The following documentation describes how to create
  10. a program that will install itself to allow other programs to make use of
  11. this interrupt.
  12.  
  13.   The DEBUG script listed below will be used to create TERMXDI.COM.  It is
  14. designed for DESQview 2.26 running on version 2.X of DOS.  You should
  15. create an ASCII file containing the lines marked off by TOP and BOTTOM.
  16. You should note that there is a blank line that must be included.  After
  17. you have created the ASCII file, use the following command from the DOS
  18. prompt to create TERMXDI.COM
  19.  
  20. debug <termxdi.pat
  21.  
  22.    This assumes that the file you created is TERMXDI.PAT.  You may use
  23. another filename if you desire.  Debug will display some messages on the
  24. screen and exit leaving you at the DOS prompt.  You will find the file
  25. TERMXDI.COM in the current directory.  Copy this file to your DESQview
  26. directory.  Then edit the DV.BAT file in the root directory to run this
  27. program just before starting DESQview. Your batch file might look something
  28. like this:
  29.  
  30. break off
  31. cd \dv
  32. termxdi
  33. dv %1 %2 %3 %4 %5
  34. cd \
  35.  
  36.    You may also place TERMXDI in your AUTOEXEC.BAT file.
  37.  
  38. -------------------------- TOP of TERMXDI.PAT (do not include this line)
  39. a 100
  40. JMP     0103
  41. IRET
  42. MOV     AX,352F
  43. INT     21
  44. MOV     AX,ES
  45. OR      AX,BX
  46. JNZ     0122
  47. MOV     DX,0102
  48. MOV     AX,252F
  49. INT     21
  50. MOV     DX,0112
  51. MOV     CL,04
  52. SHR     DX,CL
  53. MOV     AX,3100
  54. INT     21
  55. MOV     AX,4C00
  56. INT     21
  57.                            <--- this blank line MUST be here
  58. rcx
  59. 27
  60. n termxdi.com
  61. w
  62. q
  63. --------------------------- BOTTOM (do not include this line)
  64.  
  65.  
  66.  
  67.              * * *   E N D   O F   F I L E    * * * 
  68.